package com.ydsungan.worldbook.service;

import com.ydsungan.worldbook.pojo.Book;
import com.ydsungan.worldbook.pojo.User;

import java.util.List;
import java.util.Map;

public interface BookService {
    boolean addBook(Book book);
    boolean updateBook(Book book);
    List<Book> getBookByMap(Map<String, Object> map);
    List<Book> getBookOrderByDownloadNum(int limit);
}
